package com.hzlj.position.config.dao;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fz.common.base.converter.QueryWrapperConverterPlus;
import com.hzlj.position.config.common.dto.wdConfig.WdConfigQueryResultDTO;
import com.hzlj.position.config.common.model.WdConfig;
import com.hzlj.position.config.mapper.WdConfigMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * 定位-腕带配置表(WdConfig)表操作类
 *
 * @author makejava
 * @date 2024-07-18 15:34:29
 */
@Repository
public class WdConfigDao extends ServiceImpl<WdConfigMapper, WdConfig> {
    @Resource
    private WdConfigMapper wdConfigMapper;

    /**
     * 查询列表：不分页
     */
    public List<WdConfigQueryResultDTO> listWdConfig() {
        return QueryWrapperConverterPlus.of(wdConfigMapper)
                .list(WdConfigQueryResultDTO.class, null);
    }
}

